package org.jeecg.modules.bicycle.vehicle.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.bicycle.vehicle.entity.BikeVehicle;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.bicycle.vehicle.vo.BikeCard;
import org.jeecg.modules.bicycle.vehicle.vo.BikeVehicleInitialization;
import org.jeecg.modules.param.station.entity.BikeStation;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: bike_vehicle
 * @Author: 月月鸟
 * @Date:   2021-05-19
 * @Version: V1.0
 */
public interface IBikeVehicleService extends IService<BikeVehicle> {


    ModelAndView exportXls(HttpServletRequest request, BikeVehicle bikeVehicle);

    Result<?> initialization(BikeVehicleInitialization bikeVehicle);

    Result<?> addCard(BikeCard addCard);

    Result<?> delCard(BikeCard addCard);

    Result<?> changeCard(BikeCard changeCard);

    Result<?> getByCode(String code);

    String getPileId(BikeVehicle tb);

    Result<?> deleteCheck(String id);

    //Result<?> getBikeCode();

    Result<?> updateBikeCode(String code);

    boolean checkCode( String code);

    Result<?> clearCard(BikeVehicle bikeVehicle);

    Page<BikeVehicle> pageList(Page<BikeVehicle> page, BikeVehicle bikeVehicle);
}
